-content_for(:aside) do
  -if respond_to? :permitted_to?
    -if permitted_to? :create, :documents
      %h2 Actions
      .box
        %h3.add= link_to('New document', new_document_path)
        
  -else
    %h2 Actions
    .box
      %h3.add=link_to('New document', new_document_path)
